package com.woniuxy.hotel.room.service;


import java.math.BigDecimal;
import java.util.List;

import com.woniuxy.hotel.room.pojo.Room;
import com.woniuxy.hotel.room.pojo.RoomExample;
import com.woniuxy.hotel.room.pojo.RoomType;
import org.springframework.stereotype.Service;

@Service
public interface RoomService {

 	public  List<Room> findAllRoom();

	public List<Room> findRoom1(Room room, BigDecimal low, BigDecimal high);

	public int insertRoom(Room room);

	public int delRoom(Room room);

	public int delRoomSql(Room room);

	public int updateRoomSql(Room room);

	public int updateRoomSql1(Room room);
	
	public int countNum(int flag);
	
	public List<Room> selectAllRoomsInfo(Integer page, Integer limit);
	
	public int updateByRoomTypeId(Room room);
	
	public List<Room> selectDeletedRoomsInfo(Integer page, Integer limit);
	
	public int recoverRoom(Integer roomId);
	
	public List<Room> findAllRoomThisHotel(Room room);
	
	public Room findRoomById(int roomI);
}
